﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;
using OperaHouse.Domain.Users;

namespace Application.DAL.Mapping.Users
{
    public partial class UserMap : EntityTypeConfiguration<User>
    {
        public UserMap()
        {
            this.ToTable("Users");
            this.HasKey(c => c.Id);
            this.Property(u => u.Username).HasMaxLength(100);
            this.Property(u => u.Password);
        }
    }
}
